package com.kgcx.coupon.mapper;

import com.kgcx.coupon.domain.UserPlan;
import com.kgcx.coupon.query.UserPlanQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserPlanMapper {

    int deleteByPrimaryKey(Integer kid);

    int insert(UserPlan record);

    int insertSelective(UserPlan record);

    void insertByBatch(List<UserPlan> list);

    UserPlan selectByPrimaryKey(@Param("kid") Integer kid);

    int updateByPrimaryKeySelective(UserPlan record);

    List<UserPlan> selectForList(UserPlanQuery query);

}
